package com.cqie.practicaltraining.config.exception.exception.exception;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author shinetan
 * @since 0.1.0
 */
public interface IGlobalException<T, E extends Throwable> {

    T exception(E throwable, HttpServletRequest request, HttpServletResponse response);
}
